package com.dgty.dg_common.network

/**
 * Title: BaseResp.kt
 * Description:接口数据
 * Created DateTime: 2023-02-07
 * Created by xxl.
 */
class BaseResp<T> {
    var code: Int = -1
    var msg: String = ""
    var data: T? = null
    var success: Boolean = false
    var responseState: ResponseState? = null

    enum class ResponseState {
        REQUEST_START,
        REQUEST_SUCCESS,
        REQUEST_FAILED,
        REQUEST_ERROR
    }
}